﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IService;
using Models;
using Infrastructure;
using IRepository;

namespace ConcreteService
{
    public class LogService : ILogService
    {
        public void CreateLog(EventLog log)
        {
            ILogRepository repo = FactoryCreator.Create<ILogRepository>();
            repo.CreateLog(log);
        }
    }
}
